package service;

import entity.Book;

import java.sql.SQLException;
import java.util.List;

public interface BookService {

    List<Book> findByPage(int pageIndex, int pageSize);

    Integer getTotalCount();

}
